package com.hdit.guimei.service;

import com.hdit.guimei.domain.User;

import java.util.List;
import java.util.Map;

/**
 * @基本功能:
 * @ClassName: UserService
 * @Description: TODO
 * @Author: 李嘉明
 * @Date: 2021/1/17 16:54
 * @Version 1.0
 */
public interface UserService {
    public int userRegister(User user);
    public Map userLogin(String user_name,String user_pwd);
    int updateUserPwd(String user_name,String user_pwd,String new_user_pwd);
    public int userupdate(User user);
    public Map findUserByUsername(String username);
    public List<User> findAllUsers();
    public int updateUserState(int id,int user_lock);
}
